Tweak focus tests
authorMatthias Clasen <mclasen@redhat.com>
Thu, 22 Oct 2020 23:59:21 +0000 (19:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 23 Oct 2020 01:18:46 +0000 (21:18 -0400)
commit7671c1074b524fb56a6dde29180faa595d358050
tree448b1f9794735bc68e21ff254c5efab82ee0c26a
parent3a08706e4034d0bf4ddfc7516a178a63287e2120
Tweak focus tests

These tests are a bit fragile because the initial focus
that is taken depends on what ends up in the center of
the window, horizontally or vertically, which depends
on things like fonts, or theme spacing.

This commit makes some tweaks to push things in the
widget-factory example around far enough to make the
tests work again.

We should figure out a way to make this more robust.
testsuite/gtk/focus-chain/widget-factory.ui
testsuite/gtk/focus-chain/widget-factory2.ui
testsuite/gtk/focus-chain/widget-factory3.ui